﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010CD RID: 4301
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SceneGroupRefreshScNotify : IMessage<SceneGroupRefreshScNotify>, IMessage, IEquatable<SceneGroupRefreshScNotify>, IDeepCloneable<SceneGroupRefreshScNotify>, IBufferMessage
	{
		// Token: 0x17003664 RID: 13924
		// (get) Token: 0x0600C052 RID: 49234 RVA: 0x00207A09 File Offset: 0x00205C09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SceneGroupRefreshScNotify> Parser
		{
			get
			{
				return SceneGroupRefreshScNotify._parser;
			}
		}

		// Token: 0x17003665 RID: 13925
		// (get) Token: 0x0600C053 RID: 49235 RVA: 0x00207A10 File Offset: 0x00205C10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SceneGroupRefreshScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003666 RID: 13926
		// (get) Token: 0x0600C054 RID: 49236 RVA: 0x00207A22 File Offset: 0x00205C22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SceneGroupRefreshScNotify.Descriptor;
			}
		}

		// Token: 0x0600C055 RID: 49237 RVA: 0x00207A29 File Offset: 0x00205C29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneGroupRefreshScNotify()
		{
		}

		// Token: 0x0600C056 RID: 49238 RVA: 0x00207A3C File Offset: 0x00205C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneGroupRefreshScNotify(SceneGroupRefreshScNotify other) : this()
		{
			this.groupRefreshList_ = other.groupRefreshList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C057 RID: 49239 RVA: 0x00207A66 File Offset: 0x00205C66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneGroupRefreshScNotify Clone()
		{
			return new SceneGroupRefreshScNotify(this);
		}

		// Token: 0x17003667 RID: 13927
		// (get) Token: 0x0600C058 RID: 49240 RVA: 0x00207A6E File Offset: 0x00205C6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<GroupRefreshInfo> GroupRefreshList
		{
			get
			{
				return this.groupRefreshList_;
			}
		}

		// Token: 0x0600C059 RID: 49241 RVA: 0x00207A76 File Offset: 0x00205C76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SceneGroupRefreshScNotify);
		}

		// Token: 0x0600C05A RID: 49242 RVA: 0x00207A84 File Offset: 0x00205C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SceneGroupRefreshScNotify other)
		{
			return other != null && (other == this || (this.groupRefreshList_.Equals(other.groupRefreshList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C05B RID: 49243 RVA: 0x00207AB8 File Offset: 0x00205CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.groupRefreshList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C05C RID: 49244 RVA: 0x00207AEC File Offset: 0x00205CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C05D RID: 49245 RVA: 0x00207AF4 File Offset: 0x00205CF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C05E RID: 49246 RVA: 0x00207AFD File Offset: 0x00205CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.groupRefreshList_.WriteTo(ref output, SceneGroupRefreshScNotify._repeated_groupRefreshList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C05F RID: 49247 RVA: 0x00207B24 File Offset: 0x00205D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.groupRefreshList_.CalculateSize(SceneGroupRefreshScNotify._repeated_groupRefreshList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C060 RID: 49248 RVA: 0x00207B5D File Offset: 0x00205D5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SceneGroupRefreshScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.groupRefreshList_.Add(other.groupRefreshList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C061 RID: 49249 RVA: 0x00207B8B File Offset: 0x00205D8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C062 RID: 49250 RVA: 0x00207B94 File Offset: 0x00205D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.groupRefreshList_.AddEntriesFrom(ref input, SceneGroupRefreshScNotify._repeated_groupRefreshList_codec);
				}
			}
		}

		// Token: 0x04004D7C RID: 19836
		private static readonly MessageParser<SceneGroupRefreshScNotify> _parser = new MessageParser<SceneGroupRefreshScNotify>(() => new SceneGroupRefreshScNotify());

		// Token: 0x04004D7D RID: 19837
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004D7E RID: 19838
		public const int GroupRefreshListFieldNumber = 13;

		// Token: 0x04004D7F RID: 19839
		private static readonly FieldCodec<GroupRefreshInfo> _repeated_groupRefreshList_codec = FieldCodec.ForMessage<GroupRefreshInfo>(106U, GroupRefreshInfo.Parser);

		// Token: 0x04004D80 RID: 19840
		private readonly RepeatedField<GroupRefreshInfo> groupRefreshList_ = new RepeatedField<GroupRefreshInfo>();
	}
}
